function exportData() {
    amanajax.post({
        cache: true,
        url: "/exportrecords/",
        async: false,
        error: function (request) {
            return false;
        },
        success: function (result) {
            // console.log(result);
            window.location.href = result;
        },
        complete: function () {
        },
        error: function (data) {
            amanalert.alertInfo('导出失败，请重试！');
        }
    });
}